import axios from 'axios';

export const addTask = (data: any) => {
  return axios.post('/api/appointTask/add', data);
};

export const getTaskList = (params: any) => {
  return axios.get('/api/appointTask/list', { params });
};

export const updateTaskStatus = (data: any) => {
  return axios.post('/api/appointTask/updateStatus', data);
};
